﻿<link rel="stylesheet" href="${ctx}/common/common.css" />
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="layui-row layui-col-space15">
  <div class="layui-add-line"></div>
  <fieldset class="layui-elem-field layui-field-title" style="margin: 0px">
    <legend class="layui-add-title">生产信息</legend>
  </fieldset>
  <div class="layui-col-md12">
    <table class="layui-table">
      <thead>
        <tr>
          <th>加工单编号</th>
          <th>生产批次</th>
          <th>产品名称</th>
          <th>产品标准号</th>
          <th>规格/单位</th>
          <th>生产日期</th>
          <th>生产车间</th>
          <th>生产产线</th>
          <th>创建日期</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
        <c:forEach items="${productionInfoList}" var="info">
          <tr>
            <td>${info.worksheetCode}</td>
            <td>${info.batchCode}</td>
            <td>${info.productName}</td>
            <td>${info.standardNum}</td>
            <td>${info.specifications}/${info.unit}</td>
            <td>${info.worksheetPDate}</td>
            <td>${info.workshopName}</td>
            <td>${info.productionLineName}</td>
            <td>${info.worksheetCreateTime}</td>
            <td>
              <a href="${ctx}/productionDetection/pickingRecord?workId=${info.worksheetId}"><span style="cursor: pointer; color: blue;">领料记录</span></a>
              <a href="${ctx}/productionDetection/technological?workId=${info.worksheetId}"><span style="cursor: pointer; color: blue;">工艺流程</span></a>
              <a href="${ctx}/productionDetection/inspectionReport?workId=${info.worksheetId}"><span style="cursor: pointer; color: blue;">检验报告</span></a>
            </td>
          </tr>
        </c:forEach>
      </tbody>
    </table>
    <c:if test="${empty productionInfoList}">
      <div style="text-align: center">无数据</div>
    </c:if>
  </div>
</div>

